import request from '@/utils/request'


/*
*  获取留言列表
*  */
export function gitMessageList(params) {
  return request({
    url: 'userMessage/list',
    method: 'get',
    params
  })
}
/*
*  删除用户留言
*  */
export function deleteMessage(baseId) {
  return request({
    url: `/userMessage?baseId=${baseId}`,
    method: 'delete'
  })
}
/*
*  获取联系人电话
*  */
export function getContactPhoneList(params) {
  return request({
    url: '/contactPhone/list',
    method: 'get',
    params
  })
}
/*
*  修改联系人电话
*  */
export function updateContactPhone(data) {
  return request({
    url: '/contactPhone',
    method: 'put',
    data
  })
}
